
VPATH = .:../libBioModel:$(HOME)/include

SRCS = *.cpp
OBJ = anyoption.o ssor.o
CPP_DEPS = 
LIBS := -lm -lstdc++
LD := $(HOME)/lib

CC := g++

#-lxerces-c 

#$(OBJ) : $(SRCS)
%.o : %.cpp
	@echo 'Building file: $<'
	@echo 'Invoking: GCC C++ Compiler'
	$(CC) -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" -I$(HOME)/include
	@echo 'Finished building: $<'
	@echo


ssor : $(OBJ)
	$(CC) -o"ssor" $(OBJ) -L$(LD) $(LIBS)

all : ssor install

install:
	cp ssor ../bin

test : ssor

clean:
	rm *.o *.d
